package com.kh.samr.repository;

import com.kh.samr.entity.Dishonesty;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @Author Harry
 * @Date 2020/12/14
 */
public interface IDishonestyRepository extends JpaRepository<Dishonesty, String>,
		JpaSpecificationExecutor<Dishonesty> {
	
	/**
	 * 根据统一社会信用代码查询
	 *
	 * @param uniformSocialCreditCode 统一社会信用代码
	 * @return 查询结果
	 */
	List<Dishonesty> findAllByUniformSocialCreditCode(String uniformSocialCreditCode);
}
